/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Administrator
 */
public class VectorDemo02 {
    public static void main(String[] args) {
        //实例化一个集合容器类，LinkedList,Vector,Set,Map
        //CRUD,针对容器类的操作，添加add,移除remove,检索get(index,NewElement)
        Vector v = new Vector();
        
        
        v.add("第一");
        v.add(new Integer(1));//Integer int
        v.add(new Double(1.1));
        
        
        v.add("第二");
        v.add(new Integer(2));
        v.add(new Double(2.2));
        
        
         v.add("第三");
        v.add(new Integer(3));
        v.add(new Double(3.3));
        
        
         v.add("第四");
        v.add(new Integer(4));
        v.add(new Double(4.4));
    }

}
